/************************************************************************

								Heroes IV
					  Copyright 2001, The 3DO Company

	------------------------------------------------------------------
  						       adv_sign.h

	$Header: $

	$NoKeywords: $

 ************************************************************************/

#ifndef ADV_SIGN_H_INCLUDED
#define ADV_SIGN_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include <string>
#include "bool_array.h"

#include "stationary_adventure_object.h"

class t_adv_sign : public t_stationary_adventure_object
{
public:
	t_adv_sign(  std::string const& source );

	virtual void    activate_trigger( 
							t_army* army, t_adv_map_point const& point, 
		                    t_direction direction, t_adventure_frame* frame );

	virtual int     get_version() const;

	virtual bool	read_from_map(
							std::streambuf&		buffer,
							t_progress_handler* );
	
	virtual bool    read( std::streambuf&						stream, 
					      t_qualified_adv_object_type const&	type,
					      int									version );
	virtual void	right_click( t_mouse_event const& event,
								 t_adventure_frame* adventure_frame );
	virtual bool    write( std::streambuf& stream ) const;

protected:
	std::string		m_message;
	t_bool_array	m_visited;
};



#endif // ADV_SIGN_H_INCLUDED
